package com.lgr.store.dao;

import org.apache.ibatis.annotations.Param;
import com.lgr.store.utils.PageObject;
import com.lgr.store.vo.StorageVo;
import java.util.List;

public interface StorageDAO {

    //查询
    List<StorageVo> listAll(@Param("storage") StorageVo storage, @Param("pager") PageObject pager);
    //统计记录数
    int getcount(StorageVo storage);
    //新增
    void add(StorageVo storage);
    //删除
    void deleteById(Integer storageId);
    //修改
    void update(StorageVo storage);
    //根据id返回一条家庭联系信息
    StorageVo findById(Integer storageId);
}